package com.booking.dao.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.booking.common.dto.PageReq;
import com.booking.common.dto.PageResp;
import com.booking.controller.model.req.analyse.AnalyseQueryReq;
import com.booking.controller.model.req.order.OrderPageQueryReq;
import com.booking.dao.entity.RoomOrder;

import java.util.List;

/**
 * @author Qikai.Lin
 * @date 2023/4/23
 */
public interface RoomOrderService extends IService<RoomOrder> {
    PageResp<RoomOrder> page(PageReq<OrderPageQueryReq> request);

    List<RoomOrder> getListByRoomId(Long roomId);

    List<RoomOrder> getListByVisitorId(Long visitorId);

    List<RoomOrder> getListByCondition(AnalyseQueryReq request);
}
